<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Jquery Ajax Test</title>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js">
    </script>
    <body>
    <h1>Ajax Test</h1>

    <!--<button class="btn6">ajax list</button>-->

</body>
<script>
      $.ajax({url:"/data", success:function(data){

         alert(data);

        }});

</script>

</head>

</html>